Operation void
insertElementAt (Object obj, int index), in Class Vector
Documentation
* Inserts the specified object as a component in this vector at the
* specified <code>index</code>. Each component in this vector with
* an index greater or equal to the specified <code>index</code> is
* shifted upward to have an index one greater than the value it had
* previously.
* <p>
* The index must be a value greater than or equal to <code>0</code>
* and less than or equal to the current size of the vector.
*
* @param obj the component to insert.
* @param index where to insert the new component.
* @exception ArrayIndexOutOfBoundsException if the index was invalid.
* @see java.util.Vector#size()
* @since JDK1.0
Concurrency | Sequential | Export Control | PublicAccess |
Property Settings
Java
Final | True | Synchronized | True |
Abstract | False | Static | False |
Native | False | | |